
cookie=`cat cookie.txt`

curl --compressed \
    -H 'Host: www.ti.com.cn' \
    -H 'Connection: keep-alive' \
    -H 'sec-ch-ua: "Google Chrome";v="95", "Chromium";v="95", ";Not A Brand";v="99"' \
    -H 'sec-ch-ua-mobile: ?0' \
    -H "User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.54 Safari/537.36" \
    -H "Content-Type: application/x-www-form-urlencoded; charset=UTF-8" \
    -H 'Expires: 0' \
    -H "Cache-Control: no-store, must-revalidate" \
    -H 'sec-ch-ua-platform: "macOS"' \
    -H 'Accept: */*' \
    -H 'Origin: https://www.ti.com.cn' \
    -H 'Sec-Fetch-Site: same-origin' \
    -H 'Sec-Fetch-Mode: navigate' \
    -H 'Sec-Fetch-Dest: document' \
    -H 'Referer: https://www.ti.com.cn/store/ti/zh/checkout/multi/cn-tax-invoice' \
    -H 'Accept-Encoding: gzip, deflate, br' \
    -H 'Accept-Language: zh-CN,zh;q=0.9,en;q=0.8' \
    -b "$cookie" \
    -d 'id=8826745726600&type=SPECIALPAPERINVOICE&recipient=%E6%B7%B1%E5%9C%B3%E5%B8%82%E5%88%9B%E6%96%B0%E6%B6%A6%E7%94%B5%E5%AD%90%E6%9C%89%E9%99%90%E5%85%AC%E5%8F%B8&vatInvoiceTitleFlag=true&taxRegistrationNumber=91440300359713066T&registrationAddress=%E6%B7%B1%E5%9C%B3%E5%B8%82%E7%A6%8F%E7%94%B0%E5%8C%BA%E5%8D%8E%E5%BC%BA%E5%8C%97%E8%A1%97%E9%81%93%E4%B8%AD%E8%88%AA%E8%B7%AF%E6%96%B0%E4%BA%9A%E6%B4%B2%E4%B8%80%E6%9C%9F5%E6%A5%BC576&phoneNumber=075+5825+44500&bankName=%E4%B8%AD%E5%9B%BD%E6%B0%91%E7%94%9F%E9%93%B6%E8%A1%8C%E5%8D%8E%E5%BC%BA%E6%94%AF%E8%A1%8C&bankAccountNo=150066364&vatInvoiceAddress.firstName=%E5%BC%A0%E6%99%93%E5%86%B2&vatInvoiceAddress.companyName=%E6%B7%B1%E5%9C%B3%E5%B8%82%E5%88%9B%E6%96%B0%E6%B6%A6%E7%94%B5%E5%AD%90%E6%9C%89%E9%99%90%E5%85%AC%E5%8F%B8&vatInvoiceAddress.phoneCountryPrefix=0&vatInvoiceAddress.phoneNumber=136+3267+1185&billTo_countryIso=0&vatInvoiceAddress.countryIso=CN&vatInvoiceAddress.line1=%E6%B7%B1%E5%9C%B3%E5%B8%82%E7%A6%8F%E7%94%B0%E5%8C%BA%E5%8D%8E%E5%BC%BA%E5%8C%97%E8%A1%97%E9%81%93%E4%B8%AD%E8%88%AA%E8%B7%AF%E6%96%B0%E4%BA%9A%E6%B4%B2%E4%B8%80%E6%9C%9F5%E6%A5%BC576&vatInvoiceAddress.townCity=%E6%B7%B1%E5%9C%B3%E5%B8%82&vatInvoiceAddress.state=%E5%B9%BF%E4%B8%9C%E7%9C%81&vatInvoiceAddress.postcode=518000&phone1=0&mobileNumber=&email=&CSRFToken=021f9f41-091e-467e-ab92-23623ef5d486' \
    https://www.ti.com.cn/store/ti/zh/checkout/multi/cn-tax-invoice/add -v


